package es.uned.bubble;

import android.os.Bundle; 
import org.apache.cordova.*; 

public class MainActivity extends DroidGap { 

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		//set the splashscreen 
		super.setIntegerProperty("splashscreen", R.drawable.splash_screen_bubble);
		
		super.init();
	    super.clearCache();
	    super.clearHistory();
	    
		//settig the wait time. During this time we show the splashscreen. When finish the time we will show the init page (index.html)
		//TODO:This time has to be a properties in a external file. 
		super.loadUrl("file:///android_asset/www/pages/index.html", 5000);
	}
}
